package rhc.discribute.node.connecter.impl;

import java.util.concurrent.CountDownLatch;

/**锁数据，当获取分布式锁时，会设置锁数据为一个码，当释放锁时需要传入该码，如果一样才能释放
 * @author rhc
 *
 */
public class ZKPathLockData {

	/**
	 * 锁路径
	 */
	private String lockPath;
	
	/**
	 * 锁数据
	 */
	private String lockData;
	
	/**
	 * 创建的临时有序路径
	 */
	private String ephePath;
	
	public String getLockPath() {
		return lockPath;
	}

	public void setLockPath(String lockPath) {
		this.lockPath = lockPath;
	}

	public String getLockData() {
		return lockData;
	}

	public void setLockData(String lockData) {
		this.lockData = lockData;
	}

	public String getEphePath() {
		return ephePath;
	}

	public void setEphePath(String ephePath) {
		this.ephePath = ephePath;
	}
}
